﻿@{
    Layout = "~/Views/Shared/_Layout.cshtml";
    ViewBag.Title = "Confirmation";
}

<style>
    blue {
        color: #333399;
    }
</style>

@Html.ActionLink("View Course Details", "Details", "Course", new { id=@Request.Cookies["courseId"].Value}, null) -> Check out -> <strong><blue>Confirmation</blue></strong>
<br /><br />
<section id="cardBorder">
    <section id="cardContent">
    <p>SUCCESSFUL ENROLLMENT!</p>
    <p>Summary</p>
    <p>- Here is your Receipt.</p>
    <p>Important:</p>
    <p>- Check your email for receipt and further instructions regarding the course.</p>
    <p>- The course provider <strong>@ViewData["institution"]</strong> will contact you with further details.</p>
    <p>Thank you for choosing Compare Courses, connecting you with  <strong>@ViewData["institution"]</strong>!</p>
    <p>For any inquires, send us an email: inquiry@@cc.com or call: 000111100</p>
        </section>
</section>
<br />
<section id="cardBorder">
    <section id="cardContent">
        <h3>RECEIPT</h3>
        <p>DATE: @DateTime.Now.Date.ToString("dd MMM yyyy")</p>
        <br />
        <p>Name: @Session["PayerName"]</p>
        <p>Address: @Session["PayerAddress"]</p>
        <p>Email: @Session["PayerEmail"]</p>
        <br />
        <table>
            <tr>
                <th>Course</th>
                <th>Details</th>
                <th>Cost</th>
            </tr>
            <tr>
                <td>@ViewData["courseName"]</td>
                <td>@ViewData["PDetails"]</td>
                <td>$@ViewData["totalAmount"]</td>
            </tr>
        </table>
        <br />
        <p><strong>INSTITUTION:</strong> @ViewData["institution"]</p>
        <br />
        <p><underline>Paid via</underline></p>
        <p><space>COMPARE COURSES [Value Comparisons Australia Pty Ltd. All rights reserved.]</space></p>
    </section>
</section>